package org.xsk.network.tcp.object;

import lombok.Data;

import java.io.Serializable;

/**
 * description: 用户
 * <p>
 * date: 2021/6/10 11:41
 * author: x-one
 */
@Data
public class User implements Serializable {
    private String name;
    private String psd;

    public User(String name, String psd) {
        this.name = name;
        this.psd = psd;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", psd='" + psd + '\'' +
                '}';
    }
}
